# Set terminal
set-option -g default-shell "/bin/zsh"
set-option -g default-terminal "screen-256color"

####  Display status bar  ###
set-option -g status on
#set-option -g status-utf8 on
set-option -g status-keys vi
set-window-option -g status-keys vi
set-option -g status-bg colour8
set-option -g status-fg white
set-option -g status-justify left
set-option -g status-left-length 35
set-option -g status-interval 15
set-option -g status-left ' @#{=14:host} '
set-option -g status-right "#[fg=magenta]%Y-%m-%d %a #[fg=green]%H:%M #[fg=blue]::#[default]"
set-window-option -g window-status-format ' #I:#W '
set-window-option -g window-status-current-format '[#I:#W]'
set-window-option -g window-status-current-fg yellow
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-attr bold

# window number,program name,active (or not)
set-option -g set-titles-string '#H:#I.#P #W'

#set-option -g visual-bell on

# Display color
set-option -g display-panes-colour red
set-option -g display-panes-active-colour yellow
set-option -g message-bg white
set-option -g message-fg black
#set-option -g pane-border-bg default
#set-option -g pane-border-fg colour240
#set-option -g pane-active-border-bg default
#set-option -g pane-active-border-fg colour253
#set-option -g repeat-time 500
set-window-option -g mode-keys vi
set-window-option -g mode-bg blue
set-window-option -g mode-fg white
set-option -g visual-activity off
#set-window-option -g monitor-activity off

# 使用鼠标选择标签
#set-option -g mouse-select-pane on
